/*
package CSDN.day22_7_5;

import java.util.*;

*/
/**
 * @Description: 1(2(4,5(7,8)),3(6))
 * @Author: Hanzao
 * @Date: 2022/07/03/13:10
 *//*



public class round2 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int num = scan.nextInt();
        int tar = scan.nextInt();
        List<Integer> list = new ArrayList();
        for (int i = 0; i < num; i++) {
            list.add(scan.nextInt());
        }
        boolean tmp = false;
        for (int i : list) {
            if (i == tar && tmp == false) {
                System.out.println(i);
                tmp = true;
            }
        }
        if (tmp == true) {
            System.out.println(-1);
        }

    }
}
*/
